<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

</head>
<body class="nihilo">


<div dojoType="dijit.TitlePane" open="false" title="功能说明" style="width:300px;height:300px;float:right">
	<p>
	邮件通知全局设置。以行分隔多个的邮箱。
	
	</p>
  
</div>



<div style="height:50px;">
	<div style="margin:10px;">位置: 监控管理  > 监控设置</div>
	<div style="margin:10px;">
		<button dojoType="dijit.form.Button" onclick="addRow('notice_table');">新增</button>
	</div>
</div>

<div method="post" jsid="notice_form" id="notice_form" dojoType="dijit.form.Form" action="/index.php">

 <script type="dojo/method" event="onSubmit">
		
 		if (this.validate()) {
        	submitForm("notice_form");
            return false;
        } else {
            return false;
        }
       
    </script>
<input type="hidden" name="action" value="setting">
<input type="hidden" name="op" value="save">
<input type="hidden" name="set_type" value="<?=$set_type?>">
<table style="width:600px;margin:10px">
<thead>
<tr >
<td style="border-bottom:1px solid #ccc;width:150px;background-color:#eee">变量</td>
<td style="border-bottom:1px solid #ccc;width:250px;background-color:#eee">值</td>
<td style="border-bottom:1px solid #ccc;width:250px;background-color:#eee">备注</td>
</tr>
</thead>
<tbody id="notice_table">

<tr id="row_sessionHandle">
<td>sendemail<input type="hidden" name="name_sendemail" value="sendemail"></td>
<td><input dojoType="dijit.form.ValidationTextBox" required="true" regExp="[0|1]" invalidMessage="变量名不符合规则:[0|1]" type="text" name="valu_sendemail" id="valu_sendemail" value="<?=$sets['sendemail']?>"></td>
<td style="font-size:12px;color:#666">是否发送邮件</td>
</tr>

<tr id="row_sessionHandle">
<td>subject<input type="hidden" name="name_subject" value="subject"></td>
<td><input dojoType="dijit.form.ValidationTextBox" required="true" type="text" name="valu_subject" id="valu_subject" value="<?=$sets['subject']?>"></td>
<td style="font-size:12px;color:#666">通知主题</td>
</tr>


<tr id="row_receiver">
<td>receiver<input type="hidden" name="name_receiver" value="receiver"></td>
<td>
<textarea name="valu_receiver" id="valu_receiver"  dojoType="dijit.form.Textarea"
style="width:210px;height:200px;" required="true"><?=$sets['receiver']?></textarea>
</td>
<td style="font-size:12px;color:#666">接收邮箱</td>
</tr>

<tr id="row_maxExecTime">
<td>maxExecTime<input type="hidden" name="name_maxExecTime" value="maxExecTime"></td>
<td>
<input name="valu_maxExecTime" id="valu_maxExecTime"  dojoType="dijit.form.ValidationTextBox"
 required="true" regExp="[0-9\.]+" invalidMessage="变量名不符合规则:[0-9\.]+" value="<?=$sets['maxExecTime']?>">
</td>
<td style="font-size:12px;color:#666">页面最大执行时间</td>
</tr>

<tr id="row_maxMemUsed">
<td>maxMemUsed<input type="hidden" name="name_maxMemUsed" value="maxMemUsed"></td>
<td>
<input name="valu_maxMemUsed" id="valu_maxMemUsed"  dojoType="dijit.form.ValidationTextBox"
required="true" regExp="[0-9\.]+" invalidMessage="变量名不符合规则:[0-9\.]+" value="<?=$sets['maxMemUsed']?>">
</td>
<td style="font-size:12px;color:#666">页面最大使用内存</td>
</tr>

</tbody>
<tfoot>
<tr>
     <td colspan="2" align="center">
       <button dojoType="dijit.form.Button" type="submit">保存</button>
       <button dojoType="dijit.form.Button" type="reset">重置</button>
       </td>
   </tr>
 </tfoot>
</table>
</div>

</body>
</html>